<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: GumboAttribute Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_gumbo_attribute-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GumboAttribute Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="gumbo_8h_source.html">gumbo.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a8393cdc691835a7aa3ffb8179969d8bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gumbo_8h.html#a030699170924efadb11b8e43a8681852">GumboAttributeNamespaceEnum</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a8393cdc691835a7aa3ffb8179969d8bf">attr_namespace</a></td></tr>
<tr class="separator:a8393cdc691835a7aa3ffb8179969d8bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acafedb3e0f96b0fc51ea656ff949f05b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#acafedb3e0f96b0fc51ea656ff949f05b">name</a></td></tr>
<tr class="separator:acafedb3e0f96b0fc51ea656ff949f05b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f535bba33535c0401bce8bc5459ffb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_string_piece.html">GumboStringPiece</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a6f535bba33535c0401bce8bc5459ffb3">original_name</a></td></tr>
<tr class="separator:a6f535bba33535c0401bce8bc5459ffb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4c9dc6fcd5614d17595e43f2a90da13"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#ae4c9dc6fcd5614d17595e43f2a90da13">value</a></td></tr>
<tr class="separator:ae4c9dc6fcd5614d17595e43f2a90da13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a578fc88b2b00d6468fb5445f71e11cda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_string_piece.html">GumboStringPiece</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a578fc88b2b00d6468fb5445f71e11cda">original_value</a></td></tr>
<tr class="separator:a578fc88b2b00d6468fb5445f71e11cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f25692d8f8ad48560cbb27d0e792fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a14f25692d8f8ad48560cbb27d0e792fc">name_start</a></td></tr>
<tr class="separator:a14f25692d8f8ad48560cbb27d0e792fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cdfab1070ba0b3c584317a4d2cb8a0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a1cdfab1070ba0b3c584317a4d2cb8a0b">name_end</a></td></tr>
<tr class="separator:a1cdfab1070ba0b3c584317a4d2cb8a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ee577ccb724a649538adce8bff17c86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a8ee577ccb724a649538adce8bff17c86">value_start</a></td></tr>
<tr class="separator:a8ee577ccb724a649538adce8bff17c86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b1fa5fb25a8bd65dc02f8a282a5c73e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_attribute.html#a5b1fa5fb25a8bd65dc02f8a282a5c73e">value_end</a></td></tr>
<tr class="separator:a5b1fa5fb25a8bd65dc02f8a282a5c73e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A struct representing a single attribute on an HTML tag. This is a name-value pair, but also includes information about source locations and original source text. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a8393cdc691835a7aa3ffb8179969d8bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8393cdc691835a7aa3ffb8179969d8bf">&#9670;&nbsp;</a></span>attr_namespace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gumbo_8h.html#a030699170924efadb11b8e43a8681852">GumboAttributeNamespaceEnum</a> GumboAttribute::attr_namespace</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The namespace for the attribute. This will usually be GUMBO_ATTR_NAMESPACE_NONE, but some XLink/XMLNS/XML attributes take special values, per: <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#adjust-foreign-attributes">http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#adjust-foreign-attributes</a> </p>

</div>
</div>
<a id="acafedb3e0f96b0fc51ea656ff949f05b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acafedb3e0f96b0fc51ea656ff949f05b">&#9670;&nbsp;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* GumboAttribute::name</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The name of the attribute. This is in a freshly-allocated buffer to deal with case-normalization, and is null-terminated. </p>

</div>
</div>
<a id="a1cdfab1070ba0b3c584317a4d2cb8a0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cdfab1070ba0b3c584317a4d2cb8a0b">&#9670;&nbsp;</a></span>name_end</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a> GumboAttribute::name_end</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The ending position of the attribute name. This is not always derivable from the starting position of the value because of the possibility of whitespace around the = sign. </p>

</div>
</div>
<a id="a14f25692d8f8ad48560cbb27d0e792fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14f25692d8f8ad48560cbb27d0e792fc">&#9670;&nbsp;</a></span>name_start</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a> GumboAttribute::name_start</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The starting position of the attribute name. </p>

</div>
</div>
<a id="a6f535bba33535c0401bce8bc5459ffb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f535bba33535c0401bce8bc5459ffb3">&#9670;&nbsp;</a></span>original_name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_string_piece.html">GumboStringPiece</a> GumboAttribute::original_name</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The original text of the attribute name, as a pointer into the original source buffer. </p>

</div>
</div>
<a id="a578fc88b2b00d6468fb5445f71e11cda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a578fc88b2b00d6468fb5445f71e11cda">&#9670;&nbsp;</a></span>original_value</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_string_piece.html">GumboStringPiece</a> GumboAttribute::original_value</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The original text of the value of the attribute. This points into the original source buffer. It includes any quotes that surround the attribute, and you can look at original_value.data[0] and original_value.data[original_value.length - 1] to determine what the quote characters were. If the attribute has no value, this will be a 0-length string. </p>

</div>
</div>
<a id="ae4c9dc6fcd5614d17595e43f2a90da13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4c9dc6fcd5614d17595e43f2a90da13">&#9670;&nbsp;</a></span>value</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* GumboAttribute::value</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The value of the attribute. This is in a freshly-allocated buffer to deal with unescaping, and is null-terminated. It does not include any quotes that surround the attribute. If the attribute has no value (for example, 'selected' on a checkbox), this will be an empty string. </p>

</div>
</div>
<a id="a5b1fa5fb25a8bd65dc02f8a282a5c73e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b1fa5fb25a8bd65dc02f8a282a5c73e">&#9670;&nbsp;</a></span>value_end</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a> GumboAttribute::value_end</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The ending position of the attribute value. </p>

</div>
</div>
<a id="a8ee577ccb724a649538adce8bff17c86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ee577ccb724a649538adce8bff17c86">&#9670;&nbsp;</a></span>value_start</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_gumbo_source_position.html">GumboSourcePosition</a> GumboAttribute::value_start</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The starting position of the attribute value. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/network/gumbo/parser/src/<a class="el" href="gumbo_8h_source.html">gumbo.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
